class CreateEventTypes < ActiveRecord::Migration
  def self.up
    create_table :event_types, :primary_key => :id do |t|
      t.integer :id
      t.string :description
    end

    EventType.create(:id => 1, :description => "Auction bid")
    EventType.create(:id => 2, :description => "Auction buy")
    EventType.create(:id => 3, :description => "Auction removed")
    EventType.create(:id => 4, :description => "Auction ended")
    EventType.create(:id => 5, :description => "Category new Ad")
  end

  def self.down
    drop_table :event_types
  end
end
